<% if (fieldLabel !== '') { %><div class="AknFieldContainer-header">
    <label class="AknFieldContainer-label control-label" for="pim_enrich_form_<%- fieldId %>">
        <%- fieldLabel %><% if (required) { %> <em><%- requiredLabel %></em><% } %>
    </label>
</div><% } %>
<div class="AknFieldContainer-inputContainer">
    <div class="field-input"></div>
</div>
<div class="AknFieldContainer-footer">
    <% if (typeof messageOnReadOnly !== 'undefined' && messageOnReadOnly && readOnly) { %>
        <span class="AknFieldContainer-validationWarning">
            <span class="AknFieldContainer-validationWarningMessage"><%- messageOnReadOnly %></span>
        </span>
    <% } %>

    <% errors.forEach(function(error) { %>
        <span class="AknFieldContainer-validationError">
            <span class="error-message"><%= error.message %></span>
        </span>
    <% }) %>
    <% warnings.forEach(function(warning) { %>
        <div>
            <i class="icon-warning-sign"></i>
            <%- warning.message %>
        </div>
    <% }) %>
</div>
